package com.own.component.log.login.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * LoginLastFailInfoEntity
 *
 * @author chenxueli
 * @date 2023-12-12 14:25:00
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class LoginLastFailInfoEntity implements Serializable {

    public static final LoginLastFailInfoEntity NONE = new LoginLastFailInfoEntity();

    /**
     * 登录失败的次数
     */
    private Integer count;

    /**
     * 最近一次登录失败的时间
     */
    private LocalDateTime loginTime;

}
